/**
 * 报名管理
 * 
 */

import request from "@/utils/request.js";

// 导出
export function ExportEnrollmentApi(params) {
  return request({
    url: "/admin/applicationForm/export",
    method: "POST",
    responseType: 'blob',
    params,
  });
}

// 导入
export function ImportenrollmentApi(data) {
  return request({ 
    ContentType: 'multipart/form-data',
    url: "/admin/applicationForm/importData",
    method: 'POST', 
    params:data
  })
}

// 查询列表
export function EnrollmentListApi(data) {
  return request({ 
    url: "/admin/applicationForm/list",
    method: 'POST', 
    params:data
  })
}

// 领取
export function AddenrollmentApi(data) {
  return request({ 
    url: "/admin/applicationForm/add",
    method: 'POST', 
    params:data
  })
}

// 领取
export function EditenrollmentApi(data) {
  return request({ 
    url: "/admin/applicationForm/edit",
    method: 'POST', 
    params:data
  })
}

// 一键录取
export function AdmissionenrollmentApi(data) {
  return request({ 
    url: "/admin/applicationForm/addList",
    method: 'POST', 
    params:data
  })
}